package com.jtech.together.mvp.contract;

import com.jtech.together.mvp.base.BaseContract;

/**
 * 修改昵称
 * Created by wuxubaiyang on 2017/5/17.
 */
public interface ModifyNicknameContract {
    interface Presenter extends BaseContract.Presenter {
        void updateNickname(String nickname);

        String getDefaultNickname();
    }

    interface View extends BaseContract.View {
        void updateSuccess(String nickname);

        void updateFail(String error);
    }
}